package com.anlu.base.model;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@Builder
public class Person {

    private String name;

    private Integer age;

    public Person() {
    }

    public Person(Integer age, String name){
        this.age = age;
        this.name = name;
    }

    public Person(String name){
        this.name = name;
    }

    public static String say(int n , String s ,char c){
        return n + " " + s + " " + c;
    }

    public void hi(String s){
        System.out.println("hi"+s);
    }

}

class  Student extends Person implements A,B{

    private String studentId;

    public Student(String studentId) {
        this.studentId = studentId;
    }


}


interface A{}

interface B{}


